package main

import (
	"Demo03/part07/UpFile"
	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()
	r.LoadHTMLGlob("part07/templates/**/*")
	r.GET("/", UpFile.UpFileIndex)

	r.POST("/FromUpFile", UpFile.UpSumFile)
	r.Run()
}
